package com.aaa.whj.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/17  16:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("学生对象")

@TableName(value = "t_student")
public class Student {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "地址")
    private String address;

}
